package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * 
 * @ClassName: MrExpenseSum  
 * @Description ：    费用计算汇总表
 * @Date: 2017年6月16日 下午5:06:44  
 * @Author LiuHongJun 
 * @Version 2.5.0 DHC-DRGs
 */
@Entity
@Table (name = "MR_EXPENSE_SUM", schema = "DRGs")
public class MrExpenseSum extends KoalaLegacyEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "PMAININDEX")
	private String pmainIndex;
	//药品费
	@Column(name = "DRUG_COST")
	private Double drugCost;
	//材料费用
	@Column(name = "MATER_COST")
	private Double materCost;
	//医疗费
	@Column(name = "DRG_MED_COST")
	private Double drgMedCost;
	//护理费
	@Column(name = "DRG_NURS_COST")
	private Double drgNursCost;
	//医技费
	@Column(name = "DRG_TECH_COST")
	private Double drgTechCost;
	//药品费
	@Column(name = "DRG_DRUG_COST")
	private Double drgDrugCost;
	//管理费
	@Column(name = "DRG_MANAGE_COST")
	private Double drgManageCost;

	

	/**
	 * @param pmainIndex
	 * @param drugCost
	 * @param materCost
	 * @param drgMedCost
	 * @param drgNursCost
	 * @param drgTechCost
	 * @param drgDrugCost
	 * @param drgManageCost
	 */
	public MrExpenseSum(String pmainIndex, Double drugCost, Double materCost, Double drgMedCost, Double drgNursCost,
			Double drgTechCost, Double drgDrugCost, Double drgManageCost) {
		super();
		this.pmainIndex = pmainIndex;
		this.drugCost = drugCost;
		this.materCost = materCost;
		this.drgMedCost = drgMedCost;
		this.drgNursCost = drgNursCost;
		this.drgTechCost = drgTechCost;
		this.drgDrugCost = drgDrugCost;
		this.drgManageCost = drgManageCost;
	}


	public MrExpenseSum() {
		super();
	}


	public String getPmainIndex() {
		return pmainIndex;
	}

	public void setPmainIndex(String pmainIndex) {
		this.pmainIndex = pmainIndex;
	}

	

	/**
	 * @return the drugCost
	 */
	public Double getDrugCost() {
		return drugCost;
	}


	/**
	 * @param drugCost the drugCost to set
	 */
	public void setDrugCost(Double drugCost) {
		this.drugCost = drugCost;
	}


	/**
	 * @return the materCost
	 */
	public Double getMaterCost() {
		return materCost;
	}


	/**
	 * @param materCost the materCost to set
	 */
	public void setMaterCost(Double materCost) {
		this.materCost = materCost;
	}


	/**
	 * @return the drgMedCost
	 */
	public Double getDrgMedCost() {
		return drgMedCost;
	}


	/**
	 * @param drgMedCost the drgMedCost to set
	 */
	public void setDrgMedCost(Double drgMedCost) {
		this.drgMedCost = drgMedCost;
	}


	/**
	 * @return the drgNursCost
	 */
	public Double getDrgNursCost() {
		return drgNursCost;
	}


	/**
	 * @param drgNursCost the drgNursCost to set
	 */
	public void setDrgNursCost(Double drgNursCost) {
		this.drgNursCost = drgNursCost;
	}


	/**
	 * @return the drgTechCost
	 */
	public Double getDrgTechCost() {
		return drgTechCost;
	}


	/**
	 * @param drgTechCost the drgTechCost to set
	 */
	public void setDrgTechCost(Double drgTechCost) {
		this.drgTechCost = drgTechCost;
	}


	/**
	 * @return the drgDrugCost
	 */
	public Double getDrgDrugCost() {
		return drgDrugCost;
	}


	/**
	 * @param drgDrugCost the drgDrugCost to set
	 */
	public void setDrgDrugCost(Double drgDrugCost) {
		this.drgDrugCost = drgDrugCost;
	}


	/**
	 * @return the drgManageCost
	 */
	public Double getDrgManageCost() {
		return drgManageCost;
	}


	/**
	 * @param drgManageCost the drgManageCost to set
	 */
	public void setDrgManageCost(Double drgManageCost) {
		this.drgManageCost = drgManageCost;
	}


	@Override
	public Serializable getId() {
		return pmainIndex;
	}

	@Override
	public String[] businessKeys() {
		return null;
	}

}
